SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{11b64c45bcccd887d132e1bb2da5b892d1077f1b949addac5564c6fc0bb184a3}Martinsried{11b64c45bcccd887d132e1bb2da5b892d1077f1b949addac5564c6fc0bb184a3}' OR prCity = 'Martinsried' OR prZip = 'Martinsried' OR prStreet LIKE '{11b64c45bcccd887d132e1bb2da5b892d1077f1b949addac5564c6fc0bb184a3}Martinsried{11b64c45bcccd887d132e1bb2da5b892d1077f1b949addac5564c6fc0bb184a3}' OR prCountry = 'Martinsried') AND (prLocation LIKE '{11b64c45bcccd887d132e1bb2da5b892d1077f1b949addac5564c6fc0bb184a3}Germany{11b64c45bcccd887d132e1bb2da5b892d1077f1b949addac5564c6fc0bb184a3}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{11b64c45bcccd887d132e1bb2da5b892d1077f1b949addac5564c6fc0bb184a3}Germany{11b64c45bcccd887d132e1bb2da5b892d1077f1b949addac5564c6fc0bb184a3}' OR prCountry = 'Germany')